package com.yuan.java.reflect.annotation;

public class AnnotationBase {

    @MyValue("袁恩光")
    private String name;


    @MyValue("119")
    private Long age2;


    @Override
    public String toString() {
        return "AnnotationBase{" +
                "name='" + name + '\'' +
                ", age2=" + age2 +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getAge2() {
        return age2;
    }

    public void setAge2(Long age2) {
        this.age2 = age2;
    }
}
